﻿using System;
using TI_BLE_HCI_ClientLib.GenericHCIEntities;
using TI_BLE_HCI_ClientLib.HCIBaseEntities;

namespace TI_BLE_HCI_ClientLib.HCIEvents
{
    public class HCIEvent_GAP_End_Discoverable : HCIVendorSpecificEvent
    {
        private HCIVendorSpecificEventHostErrorCode _status;

        public HCIVendorSpecificEventHostErrorCode Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public HCIEvent_GAP_End_Discoverable(
            HCIVendorSpecificEventHostErrorCode status)
            :base((ushort)HCIVendorSpecificEventEventOpcode.GAP_End_Discoverable_Done)
        {
            _status = status;
        }
    }
}
